<?php
function surfmail() {
    $to = '"=?UTF-8?B?'.base64_encode('管理员').'?="<surfchen@gmail.com>';
    $to.= ',"=?UTF-8?B?'.base64_encode('管理员').'?="<surfchen@163.com>';
    $from='"=?UTF-8?B?'.base64_encode('陈泽').'?="<mac@chenze.name>';
    $title='=?UTF-8?B?'.base64_encode('标题').'?=';
    $content='<html><head><title>你好</title></head><body><a href="http://surfchen.org">surfchen.org</a></body></html>';
    mail($to,$title,$content,'From:' . $from."\r\nContent-Type: text/html; charset=UTF-8");
    //mail($to,$title,$content,'From:' . $from."\r\nContent-Type: text/plain; charset=UTF-8");
}
